#ifndef VIEW_COMPONENT_CPANELDASHBOARD_H_
#define VIEW_COMPONENT_CPANELDASHBOARD_H_

#include "CPanelWidget.h"
#include "core/defines.h"

class QStackedWidget;

class CPanelDashboard : public CPanelWidget
{
    Q_OBJECT
public:
    CPanelDashboard(QWidget* parent = nullptr);
    ~CPanelDashboard();

    void setDeviceConfig(const ZLDeviceConfig& config);

public slots:
    void eventDeviceChanged(QString id);

private:
    QStackedWidget* dashboards_;
};

#endif  // VIEW_COMPONENT_CPANELDASHBOARD_H_